package com.zengqingfa.designpattern.create.builder.simple;

/**
 *
 * @fileName: Product
 * @author: zengqf3
 * @date: 2021-4-22 13:35
 * @description: 产品
 */
public class Product {

    private String part1;
    private String part2;

    public void apply(ConcreteBuilder.ProductParam parmas) {
        this.part1 = parmas.part1;
        this.part2 = parmas.part2;
    }

    @Override
    public String toString() {
        return "Product{" + "part1='" + part1 + '\'' + ", part2='" + part2 + '\'' + '}';
    }
}
